home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-06 / netbak25.zip / NETBAK.TXT < prev    next >
Text File  |  1992-07-09  |  11KB  |  229 lines

  1.  
  2. NetBak Version 2.5 User Manual
  3. Program and Manual Copyright 1992 D & D Software Inc.
  4. Portions Copyright 1983-1990 Novell, Inc. All Rights Reserved
  5.  
  6. Files:  The following files are included in this package:
  7. NETBAK.EXE  - the program
  8. NETBAK.TXT  - this document, the user manual
  9. LICENSE.TXT - the license agreement
  10. ORDER.TXT   - an order form for registering the product
  11.  
  12. All the text files can be printed from the DOS command line in
  13. a few minutes by executing the command: COPY *.TXT PRN.
  14.  
  15. Introduction:  Doing a complete unattended tape backup of a Novell
  16. network presents network supervisors with security problems.  Most
  17. tape backup software requires that files be closed in order to back
  18. them up.  This usually means backups are done after normal hours and
  19. thus are unattended.  In addition the backup is normally done from a
  20. workstation, which must be logged into the file server.  To access
  21. all files on the server, including the all important bindery files,
  22. requires the workstation to be logged in as supervisor.  Very few
  23. supervisors are happy with the thought of leaving an unattended
  24. workstation logged in with supervisor rights all night, even if the
  25. workstation can be secured in a locked room.
  26.  
  27. That's why NetBak was written.  It provides the ability to perform
  28. unattended backups with a measure of security not normally
  29. available.  Once operational, the only absolute daily requirement is
  30. to change the tape.  This is helpful in situations where the network
  31. supervisor will be out of the office for one or more days.
  32.  
  33. We've tried other methods to accomplish the same task and found them
  34. lacking.  Batch files inevitably require a file with the supervisor's
  35. password on the workstation's disk.  Hidden or not, such files are
  36. easily found by reading the batch file.  Utilities that log the
  37. workstation out of the server whenever a key is pressed provide good
  38. security but prevent the backup from taking place if a key is pressed
  39. by accident.
  40.  
  41. With NetBak the workstation is not left in a logged in state.  After
  42. a simple setup session, the selected password and user name are known
  43. to the program but inaccessible to others.  Executed from the
  44. automated backup program included with many popular tape drives,
  45. NetBak first locks the keyboard to prevent unauthorized program
  46. interruption and then logs into the file server using the user name
  47. and password you have provided during setup.  It executes the tape
  48. commands you have specified in a plain text file and incorporated
  49. into NetBak and generates a log to both disk and screen, providing
  50. the start and stop time of each command it executes.  After all
  51. commands have been executed, it logs out of the file server and
  52. unlocks the keyboard.
  53.  
  54. Installation:  Copy NETBAK.EXE to a directory on your workstation's
  55. hard or floppy disk.  This can be the directory where your tape
  56. software is located or any other directory as long as it is part of
  57. your normal search path.
  58.  
  59. Create a script file in the same directory as NETBAK.EXE with any
  60. editor that produces plain ASCII text files.
  61.  
  62. At the beginning of this file, enter the MAP commands required to
  63. achieve a backup with any tape software that uses drive letters. 
  64. NetBak does not execute any network script files when logging into
  65. the server and therefore does no drive mapping except through your
  66. scripts.
  67.  
  68. Then enter your tape backup commands, one command per line.  The
  69. maximum command line length is 127 characters, a DOS limitation.  The
  70. format of these commands should be exactly the same as you would
  71. enter on the DOS command line if you were executing a manual backup. 
  72. Note that any line beginning with a semicolon will be ignored.  Use
  73. the semicolon to add comments to your file.  Once satisfied save the
  74. file and exit the editor.  Please note that a script file can not
  75. exceed 2,000 bytes.  If in doubt check the file length with DOS' dir
  76. command.  You may wish to test the script by temporarily renaming it
  77. to a bat file like xxx.bat, manually logging into the fileserver and
  78. executing XXX to see if there are any problems.
  79.  
  80. Example scripts for several popular tape drives follows.  The
  81. examples assume a two volume file server with the user mapped to each
  82. volume under drive letters G: and H: and request a verification pass
  83. after the backup.  Please consult the manual accompanying your tape
  84. software for further information.
  85.  
  86. Colorado Memory Systems' drives:
  87. ; set drive mapping on server
  88. F:
  89. \PUBLIC\MAP G:=SYS:
  90. \PUBLIC\MAP H:=VOL1:
  91. ; go to directory with tape software
  92. C:
  93. CD \TAPE
  94. ; backup sys, any errors redirected to error.txt file
  95. TAPE BACKUP G:\*.* /-A/C/I/J/K/-P/S/T="SYS BACKUP" > ERROR.TXT
  96. ; backup vol1, errors also redirected
  97. TAPE BACKUP H:\*.* /A/C/I/J/K/-P/S/T="VOL1 BACKUP" >> ERROR.TXT
  98.  
  99. Mountain Tape drives:
  100. F:
  101. \PUBLIC\MAP G:=SYS:
  102. \PUBLIC\MAP H:=VOL1:
  103. C:
  104. CD \MTN_TAPE
  105. TAPE SBK G:\*.* /S /NSYS /LSYS /C /-A
  106. TAPE SBK H:\*.* /S /NVOL1 /LVOL1 /C /A
  107.  
  108. NetBak can support two different scripts, allowing you to do things
  109. like an incremental backup for most of the week and a full backup at
  110. the end of the week.  If you wish to take advantage of this feature,
  111. prepare a second script in the same manner as the first.
  112.  
  113. Setup:  After loading the network shell files, run NetBak manually
  114. from the DOS command line the first time and it will request the name
  115. and password of the user to be logged in for the backup session.  It
  116. will also ask for the drive letter where the network login directory
  117. can be found (normally drive F:).  To assure a complete backup enter
  118. the supervisor's password and accept SUPERVISOR as the default user
  119. name.
  120.  
  121. For additional security you can avoid using the supervisor password
  122. by creating another user with supervisor equivalence on the network
  123. using Novell's SYSCON program and limit the user's access to one
  124. workstation and specific night time hours.  Enter this user's name
  125. and password into NetBak.
  126.  
  127. During the setup process the unique station number of the
  128. workstation's network interface card is also retrieved and remembered
  129. by NetBak.  This provides an additional measure of security in that
  130. the program can not be executed on a workstation unless the station
  131. number matches that of the machine it was setup on.
  132.  
  133. Subsequent to the first run, NetBak can be invoked with the "/s"
  134. command line switch (i.e. NETBAK /S) when you wish to change the
  135. current password, user name or network login drive.  You will be
  136. prompted for the old password before any changes can be made.  If you
  137. relocate your tape backup to a different workstation, run NETBAK /S
  138. without changing anything to update the station number.
  139.  
  140. To incorporate your scripts run NetBak with the "/i" command line
  141. option (i.e. NETBAK /I).  You will be asked for the password and if
  142. correct the name of the script file and whether you wish it to be
  143. script #1 (this is the default script NetBak will normally execute
  144. unless NetBak is run with the /2 option) or script #2.  The commands
  145. in the script file will then be incorporated.  This step must be
  146. completed for at least one script or else NetBak will not perform and
  147. exit with the error message, "No commands were found".
  148.  
  149. If you change your scripts at a later time, executing NETBAK /I will
  150. allow you to overwrite the old ones after you supply the password and
  151. confirm that you wish to overwrite.
  152.  
  153. NetBak must be able to locate COMMAND.COM to execute it's commands.
  154. One way of accomplishing this is to have a copy of COMMAND.COM at the
  155. workstation and the COMSPEC variable set to point to this file.  Even
  156. better is to not use COMSPEC anywhere, including the file server
  157. AUTOEXEC.BAT file.
  158.  
  159. Finally, activate your tape software's unattended backup program and
  160. choose the days and time for your unattended backups.  Enter NETBAK
  161. or NETBAK.EXE as the program to be executed.  Include any command
  162. line options you wish to use (e.g. NETBAK /A2).  You may instead
  163. enter the name of a batch file containing the NETBAK command,
  164. depending on your needs and possible limitations of the tape
  165. software.
  166.  
  167. Log File:  The activity log is shown on screen at the end of each
  168. session and is also stored in a file named NETBAK.LOG.  This file
  169. will always be created in the same directory NETBAK.EXE is located.
  170.  
  171. You can examine this file by using the DOS "type" command (i.e. type
  172. netbak.log).  Normally only the current session is stored in the log;
  173. however, you can cause it to accumulate all subsequent sessions by
  174. always invoking NetBak with the "/a" command line switch (i.e. NETBAK
  175. /A).  The log is helpful in determining how long each of your
  176. commands took to execute.  It should also be examined when things go
  177. wrong for error messages and for tape program malfunctions, normally
  178. indicated when the backup time differs radically from previous
  179. sessions.  If you do not wish the log to be displayed on screen at
  180. the end of a session, use the "/n" command line option when executing
  181. NetBak.
  182.  
  183. Other Options:  If you would like to make sure that the workstation
  184. shell is loaded and the file server is running, manually execute
  185. NetBak with the "/c" command line switch (i.e. NETBAK /C).  This will
  186. check for the presence of IPX.COM and NETx.COM on the workstation and
  187. make sure the server is available without executing any scripts.
  188.  
  189. To get a screen listing of all valid command line options, execute
  190. NETBAK /H from the DOS command prompt.
  191.  
  192. Multiserver Version:  In addition to the regular, single server
  193. version, we offer a multiserver version which is capable of handling
  194. up to eight Novell fileservers connected together as an
  195. internetwork.  This version should be selected by those who expect to
  196. backup multiple servers with a single tape unit during the same
  197. NetBak session.
  198.  
  199. Evaluation copy:  Prior to payment of the registration fee, the
  200. program always starts with a screen requesting that you register and
  201. holds until a key is pressed.  Both the screen and required keystroke
  202. are eliminated with the registered version of the package.  While you
  203. can not do a completely unattended backup with the evaluation version
  204. (you have to be there to provide the required keystroke), you can
  205. examine and test the program to see if it meets your needs and decide
  206. if you wish to register or discard the software.
  207.  
  208. Registration:  Upon payment of the registration fee you will receive
  209. a disk containing the most recent registered version of NetBak, a
  210. printed manual and a variety of other utilities written by D & D
  211. Software, along with a registration number to use for preferred
  212. upgrade pricing on future versions and access to our free technical
  213. support.
  214.  
  215. We have included a simple order form in the accompanying order.txt
  216. file.  Please print and use the form for all registrations.  Mail
  217. your remittance and order form to:
  218.  
  219.                          D & D Software Inc.
  220.                          809 Jackson Avenue
  221.                          Lindenhurst, NY 11757
  222.  
  223. Comments:  Any suggestions on this program (all constructive comments
  224. appreciated) can be sent by Compuserve Mail to 70406,1163 or phoned
  225. (voice) to (516) 957-2448 (9 A.M. - 5 P.M. Mon. - Fri. Eastern) or
  226. mailed to the above address.
  227.  
  228. License:  See the accompanying file, license.txt, for license
  229. provisions.